//
//  UserManager.h
//  yjw-winner
//
//  Created by 隆霁 on 2018/9/25.
//  Copyright © 2018年 Shanghai decade financial information service co., LTD. All rights reserved.
//


//  管理假数据 users 注册&登录&登录状态


#import <Foundation/Foundation.h>

@interface UserManager : NSObject

/**
 检测电话号码是否可用

 @param phoneNumber phoneNumber
 @return 是否可以注册
 */
- (BOOL)checkPhoneNumberIsRegistWith:(NSString *)phoneNumber;

/**
 注册

 @param userName phoneNumber
 @param password password
 @return 是否注册成功
 */
- (BOOL)reigstUserWith:(NSString *)userName Password:(NSString *)password;

/**
 登录

 @param userName phoneNumber
 @param password password
 @return 是否登录成功
 */
- (BOOL)loginWith:(NSString *)userName Password:(NSString *)password;
@end
